#include <QCoreApplication>
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
   int a,b,c,V,S;
    cout<<"Enter ++++++-------a:\n";
    cin>>a;
    cout<<"Enter b:\n";
    cin>>b;
    cout<<"Enter c:\n";
    cin>>c;

    V=a*b*c;
    S=2*(a*b+b*c+c*b);
    cout<<"V="<<V<<"\n";
    cout<<"S="<<S;
    return 0;
}
